package com.lzy.system.organization.vo;

import com.lzy.system.organization.entity.SysDepartment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门
 * </p>
 *
 * @author lcc
 * @since 2023-11-22
 */
@Data
@ApiModel(value = "SysDepartment对象", description = "部门")
public class SysDepartmentVo extends SysDepartment {

    @ApiModelProperty("是否父节点")
    Boolean isParent;

    private Long id;

    @ApiModelProperty("部门名称")
    private String dep_name;

    @ApiModelProperty("父id")
    private Long pid;

    @ApiModelProperty("部门编号")
    private String dep_no;

    @ApiModelProperty("部门全路径")
    private String dep_name_path_full;

    @ApiModelProperty("部门id全路径")
    private String dep_id_path_full;

    @ApiModelProperty("公司id")
    private Long company_id;

}
